<form (submit)="onFormSubmit($event)">
  <input (input)="term = $event.target?.value" />
</form>


